﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AnyCondition : Condition
{
    public Condition[] conditions;

    // Update is called once per frame
    void Update()
    {
        foreach (var item in conditions)
        {
            ToJump = ToJump || item.ToJump;
            item.ToJump = false;
        }
    }
}
